package com.share.api.order.domain;

import com.share.common.core.annotation.Excel;
import com.share.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderStatistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Excel(name = "订单ID")
    private Long id;

    /**
     * 站点ID
     */
    @Excel(name = "站点ID")
    private Long stationId;

    /**
     * 订单日期
     */
    @Excel(name = "订单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDate;

    /**
     * 总金额
     */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /**
     * 总数量
     */
    @Excel(name = "总数量")
    private Integer totalNum;

    /**
     * 删除标志（0代表未删除，1代表已删除）
     */
    private String delFlag;
}
